package com.google.p.code.springscim.spi;

import com.google.p.code.springscim.exception.InternalServerErrorException;
import com.google.p.code.springscim.exception.NotFoundException;
import com.google.p.code.springscim.schema.model.ScimUser;

public interface ScimUserService {

    public ScimUser findById(String id) throws NotFoundException;
    
    public void addUser(ScimUser user) throws InternalServerErrorException;
    
    public void updateUser(String id, ScimUser user) throws InternalServerErrorException;
    
    public void deleteById(String id) throws InternalServerErrorException;
    
}
